@layout("/common/_form.html",{js:["/assets/modular/interfaceList/interfacelist/interfacelist_add.js"],css:["/assets/expand/module/formSelects/formSelects-v4.css"]}){

<form class="layui-form" id="interfacelistForm" lay-filter="interfacelistForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body" style="min-height: 550px">
                <div class="layui-form-item layui-row">
                    <input name="id" type="hidden"/>

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">接口名称<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="name" name="name" placeholder="请输入接口名称" type="text" class="layui-input"
                                   lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">接口描述<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="description" name="description" placeholder="请输入接口描述" type="text" class="layui-input"
                                   lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">接口地址<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="loc" name="loc" placeholder="请输入接口地址" type="text" class="layui-input"
                                   lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label" id="addParam">参数<span style="color: red;">*</span></label>
                        <div class="layui-input-block" id="param">
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">返回示例<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <textarea id="returnSample" name="returnSample" placeholder="请输入返回示例" type="text"
                                      class="layui-input" lay-verify="required" required
                                      style="overflow-y:visible"></textarea>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit id="btnSubmit">&emsp;提交&emsp;</button>
        <button class="layui-btn layui-btn-primary" ew-event="closeDialog" id="returnParent">&emsp;取消&emsp;</button>
    </div>

</form>

@}